package com.codefish.framework.spring.aop.framework;

import com.codefish.framework.spring.aop.IMethodMatcher;
import org.aopalliance.intercept.MethodInterceptor;

/**
 * @author <a href='https://gitee.com/hzf2281'>codefish</a>
 * @version 1.0.0
 * @since 2022/10/17 下午 07:52
 */
public class InterceptorAndDynamicMethodMatcher {
    private MethodInterceptor methodInterceptor;
    private IMethodMatcher methodMatcher;

    public InterceptorAndDynamicMethodMatcher(MethodInterceptor methodInterceptor, IMethodMatcher methodMatcher) {
        this.methodInterceptor = methodInterceptor;
        this.methodMatcher = methodMatcher;
    }

    public InterceptorAndDynamicMethodMatcher() {

    }

    public MethodInterceptor getMethodInterceptor() {
        return methodInterceptor;
    }

    public IMethodMatcher getMethodMatcher() {
        return methodMatcher;
    }

    public void setMethodInterceptor(MethodInterceptor methodInterceptor) {
        this.methodInterceptor = methodInterceptor;
    }

    public void setMethodMatcher(IMethodMatcher methodMatcher) {
        this.methodMatcher = methodMatcher;
    }
}
